import { createRouter, createWebHistory } from "vue-router";
import Layout from "./Layout";

const routes =  [
  // 工作台路由路径
  {
    path: "/",
    redirect: "/WorkTable",
  },
 ...Layout
]

export default createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: routes,
});
